package cn.iocoder.yudao.module.promotion.controller.admin.points.vo.pointsactivity;

import cn.iocoder.yudao.module.product.api.spu.dto.ProductSpuRespDTO;
import cn.iocoder.yudao.module.promotion.controller.admin.points.pointsproduct.PointsProductRespVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 积分活动 Response VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class PointsActivityRespVO extends PointsActivityBaseVO {

    @Schema(description = "活动编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1703")
    private Long id;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createTime;

    @Schema(description = "积分商品", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<PointsProductRespVO> productsList;

    @Schema(description = "商品信息", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<ProductSpuRespDTO> productSpuDOList;
}
